package com.springboot.chongwu.controller.admin;


import com.springboot.chongwu.entity.view.JuanzengView;
import com.springboot.chongwu.entity.view.ZhixunlistView;
import com.springboot.chongwu.qpage.QPage;
import com.springboot.chongwu.service.IJuanzengService;
import com.springboot.chongwu.service.IZhixunlistService;
import com.springboot.chongwu.util.ResultView;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 咨询记录表 前端控制器
 * </p>
 *
 * @author author
 * @since 2024-09-27
 */
@RestController
@RequestMapping("/api/admin/zhixunlist")
public class ZhixunlistController {

    @Autowired
    private IZhixunlistService service;

    /**
     * 列表分页
     * @param obj
     * @return
     */
    @GetMapping("/getPageList")
    public ResultView getPageList(QPage qPage, ZhixunlistView obj) {
        return this.service.getPageList(qPage,obj);
    }



}
